package cn.hquanheng.java_base.day06;

public class Prorammer extends ExtentdsEmployee {
	
	private double bonus;

	public void programmer() {
		System.out.println("wrintting Code");
	}

	
	public double getBonus() {
		return bonus;
	}

	public void setBonus(double bonus) {
		this.bonus = bonus;
	}
	
	
	@Override
	public double getSalary() {
		//super指父类
		return super.getSalary()+bonus;
	}
	
}
